using System;

namespace AgileCode
{
    public static class Keyboard
    {
        public static char Read()
        {
            return Input.GetRandomChar();
        }
    }

    public static class Printer
    {
        public static void Write(char c)
        {
            Console.Write(c);
        }
    }

    public static class PaperTape
    {
        public static char Read()
        {
            return char.ToUpper(Input.GetRandomChar());
        }

        public static void Punch(char c)
        {
            Console.Write("::" + c);
        }
    }

    public static class Input
    {
        private static readonly char[] _chars = "abcdefghijklmnopqrstuvwxxxxyz".ToCharArray();
        private static readonly Random _rand = new Random();

        public static char GetRandomChar()
        {
            return _chars[_rand.Next(0, _chars.Length - 1)];
        }
    }
}